package com.rc.saas.mini.service.ugs;

import com.rc.saas.mini.common.base.BaseService;
import com.rc.saas.mini.mapper.ugs.UgsMemberLevelRecordMapper;
import com.rc.saas.mini.model.ugs.TenantUgsLevelGrowing;
import com.rc.saas.mini.model.ugs.UgsMemberLevelRecord;
import com.rc.saas.mini.model.ugs.UgsMemberLevelRecordExample;

import java.util.List;

public interface UgsMemberLevelRecordService extends BaseService<Long, UgsMemberLevelRecord, UgsMemberLevelRecordExample, UgsMemberLevelRecordMapper> {
    List<UgsMemberLevelRecord> listByGrowingTypeMemberIdIntraday(String tenantCode, Long levelGrowingId, Long memberId);

    void updateByGrowingType(String tenantCode, Long memberId, Integer countRecord, TenantUgsLevelGrowing tenantUgsLevelGrowing);

    List<UgsMemberLevelRecord> listByGrowingTypeMemberId(String tenantCode, Long levelGrowingId, Long memberId);

    UgsMemberLevelRecord selectByOrderId(Long orderId);
}
